projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4e730e
)
styleproperty: Fix memleak in unpacking code
author
Benjamin Otte
<otte@redhat.com>
Thu, 26 May 2011 01:14:00 +0000
(
03:14
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 27 May 2011 14:11:09 +0000
(16:11 +0200)
gtk/gtkstyleproperty.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstyleproperty.c
b/gtk/gtkstyleproperty.c
index abed616fbb8fd380f3497929405a23939ce7732a..7ad23992fbdbbb273402fa614145ab00c1674e2f 100644
(file)
--- a/
gtk/gtkstyleproperty.c
+++ b/
gtk/gtkstyleproperty.c
@@
-1186,6
+1186,8
@@
unpack_border (const GValue *value,
g_value_init (¶meter[3].value, G_TYPE_INT);
g_value_set_int (¶meter[3].value, border->right);
+ gtk_border_free (border);
+
*n_params = 4;
return parameter;
}